package cn.com.yusys.yusp.admin.repository.mapper;

import cn.com.yusys.yusp.admin.domain.AdminSmLog;
import cn.com.yusys.yusp.commons.mapper.CommonMapper;
import cn.com.yusys.yusp.commons.mapper.QueryModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface DashBoardMapper extends CommonMapper<AdminSmLog> {
    //查询所有已发布的公告
    List<Map<String, Object>> getPublishedBoard(QueryModel model);
    //根据唯一的编号来查询公告
    List<Map<String, Object>> getProductExpiration(QueryModel model);
    List<Map<String, Object>> getRepaymentReminder(QueryModel model);
    Map<String, Object> getRemindInfo(QueryModel model);

    List<Map<String, Object>> getCustAssetDistr(QueryModel model);
    List<Map<String, Object>> getCustAssetDistrDetail(QueryModel model);
    List<Map<String, Object>> getPublishedNotice(QueryModel model);

    List<Map<String, Object>> getGridMainData(QueryModel model);

    List<Map<String, Object>> getEachGridData(QueryModel model);

    List<Map<String, Object>> getRedBlackList(QueryModel model);
    List<Map<String, Object>> getCustomerBirthday(QueryModel model);

    List<Map<String, Object>> getOverdueReminder(QueryModel model);
    List<Map<String, Object>> getLargeMovingAccount(QueryModel model);
    List<Map<String, Object>> getImportantCust(QueryModel model);
    List<Map<String, Object>> getWealthReminder(QueryModel model);
    List<Map<String, Object>> getWithdrawalInAdvance(QueryModel model);

    int updateReadFlg(Map map);

}
